merge dictionaries to form another